<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
	<title></title>
	<style type="text/css">
		* {
			margin: 0;
			padding: 0;
		}
		
		#player {
			position: absolute;
		}
	</style>
</head>
<body style="background-color: #000;">
	<div id="player"></div>
	<script type="text/javascript" src="xgplayer_2.9.6.js"></script>
	<script type="text/javascript" src="xgplayer-mp4_1.1.8.js"></script>
	<script type="text/javascript">
		function start() {
			var scrollWidth = document.body.scrollWidth;
			var scrollHeight = document.body.scrollHeight;
			new Player({
                id : 'player',
                url : 'xgplayer.mp4',
                loop : true,
                width : scrollWidth,
                height : scrollHeight,
                volume : 1,
                autoplay : true,
                controls : false,
				errorTips : `请<span>刷新</span>试试`
			});
		}
	</script>
</body>
</html>